package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 健康教育资料(HealthEducationMaterials)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:45
 */

@ApiModel(value = "HealthEducationMaterials", description = "健康教育资料")
public class HealthEducationMaterials implements Serializable {
    private static final long serialVersionUID = 652517289444480234L;
    /**
     * id
     */
    @ApiModelProperty(name = "id", notes = "id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 资料名称
     */
    @ApiModelProperty(name = "materialsName", notes = "资料名称", dataType = "String", required = true)
    private String materialsName;
    /**
     * 资料数量
     */
    @ApiModelProperty(name = "materialsNumber", notes = "资料数量", dataType = "Integer", required = true)
    private Integer materialsNumber;
    /**
     * 发放时间
     */
    @ApiModelProperty(name = "releaseTime", notes = "发放时间", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;
    /**
     * 地点
     */
    @ApiModelProperty(name = "location", notes = "地点", dataType = "String", required = true)
    private String location;
    /**
     * 资料来源
     */
    @ApiModelProperty(name = "materialsSource", notes = "资料来源", dataType = "String", required = true)
    private String materialsSource;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }

    public Integer getMaterialsNumber() {
        return materialsNumber;
    }

    public void setMaterialsNumber(Integer materialsNumber) {
        this.materialsNumber = materialsNumber;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getMaterialsSource() {
        return materialsSource;
    }

    public void setMaterialsSource(String materialsSource) {
        this.materialsSource = materialsSource;
    }

}
